home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
FREENET
/
DEVOS
/
FDSOURCE.ARC
/
h
/
error
< prev
next >
Wrap
Text File
|
1996-01-29
|
559b
|
30 lines
/* error.h
* Prototypes for error handling and diagnostics functions
*/
#include <stdarg.h>
#include "OS:wimp.h"
extern int line_no;
/* Auto */
extern bool errbox(os_error *error, bool cancel)
/* Pop up an error box
* IN msg = error text
* cancel = if !0 then make 'Cancel' button, otherwise only 'OK'
* OUT TRUE if user clicked 'OK' button
*/
;
extern void complain(char *s, ...)
;
extern bool confirm(char *s, ...)
;
extern void handler(int sig)
/* Error handling procedure
* Reports error, and quits program if user clicks 'Cancel'
*/
;